package com.cmict.data.infra.convert.rdbcolumn;

import java.util.*;

import com.cmict.data.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.cmict.data.infra.controller.admin.rdbcolumn.vo.*;
import com.cmict.data.infra.dal.dataobject.rdbcolumn.RdbColumnDO;

/**
 * 常用字段 Convert
 *
 * @author awesome1114
 */
@Mapper
public interface RdbColumnConvert {

    RdbColumnConvert INSTANCE = Mappers.getMapper(RdbColumnConvert.class);

    RdbColumnDO convert(RdbColumnCreateReqVO bean);

    RdbColumnDO convert(RdbColumnUpdateReqVO bean);

    RdbColumnRespVO convert(RdbColumnDO bean);

    List<RdbColumnRespVO> convertList(List<RdbColumnDO> list);

    PageResult<RdbColumnRespVO> convertPage(PageResult<RdbColumnDO> page);

    List<RdbColumnExcelVO> convertList02(List<RdbColumnDO> list);

}
